<div class="modal-body">
    <div class="alert alert-info">横幅基本信息</div>
    <form class="form-horizontal" method="post" novalidate>

        <div class="form-group">
            <label class="col-md-2 control-label" for="title">标题：</label>
            <div class="col-md-4">
                <input id="title" name="title" type="text"
                       class="form-control" autocomplete="off"
                       ng-model="banner.title" ng-maxlength="30" maxlength="30"/>
            </div>
        </div>
        <div class="form-group">
            <label class="col-md-2 control-label" for="content">内容：</label>
            <div class="col-md-4">
                <input id="content" name="content" type="text"
                       class="form-control" autocomplete="off"
                       ng-model="banner.content" ng-maxlength="30" maxlength="30"/>
            </div>
        </div>
        <div class="form-group">
            <label class="col-md-2 control-label">图片：</label>
            <div class="col-md-4">
                <div><img src="{{ImgName}}" style="width:100px;height: 100px"/></div>
                <div class="pic_add">
                    <input id="file" type="file" name="file" onchange="angular.element(this).scope().uploadfile()"/>
                    <div class="p_upload">上传</div>
                </div>
            </div>
        </div>
    </form>
</div>
<div class="modal-footer">
    <button type="submit" class="btn btn-primary" ng-click="submit()">保存</button>
    <button class="btn btn-default" ng-click="cancel()">取消</button>
</div>